package com.newtouch.bxzs.business.train.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户考试列表信息BO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/3/25 16:54</td>
 * <td>dingqianbin</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author dingqianbin
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("用户考试列表信息BO")
public class UserExaminationBO implements Serializable {

    private static final long serialVersionUID = 7135878653547175711L;

    @ApiModelProperty(value = "考试和用户对应关系ID")
    private String examinationUserMapId;

    @ApiModelProperty(value = "试卷名称")
    private String examinationPaperName;

    @ApiModelProperty(value = "试卷ID")
    private String examinationPaperId;

    @ApiModelProperty(value = "考试ID")
    private String examinationId;

    @ApiModelProperty(value = "试题数量")
    private Integer examinationQuestionsNumber;

    @ApiModelProperty(value = "考试类型:0-模拟，1-正式")
    private String examinationType;

    @ApiModelProperty(value = "封面图")
    private String examinationAttachmentUrl;

    @ApiModelProperty(value = "封面图名称")
    private String examinationAttachmentUrlName;

    @ApiModelProperty(value = "考试时长")
    private Double examinationDuration;

    @ApiModelProperty(value = "是否参加考试：0-未考；1-考试中；2-已考；")
    private Integer isParticipationExamination;

    @ApiModelProperty(value = "是否可参与:true-可以参加考试false-不可以参加考试")
    private Boolean isJoin;

    @ApiModelProperty(value = "考试开始时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date examinationStartTime;

    @ApiModelProperty(value = "考试结束时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale="zh", timezone="GMT+8")
    private Date examinationEndTime;
}
